package com.uni.service.impl;

import com.uni.common.entity.DictKey;
import com.uni.mapper.DictKeyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictKeyService {
    @Autowired
    private DictKeyMapper dictKeyMapper;

    public List<DictKey> findByType(String type) {
        return dictKeyMapper.findByType(type);
    }

    public List<DictKey> findList(DictKey dictKey){
        return dictKeyMapper.findList(dictKey);
    }


}
